[INFO] fetching crate doc-quad 0.1.1...
[INFO] testing doc-quad-0.1.1 against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] extracting crate doc-quad 0.1.1 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate doc-quad 0.1.1
[INFO] removed 0 missing examples
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate doc-quad 0.1.1
[INFO] tweaked toml for crates.io crate doc-quad 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate doc-quad 0.1.1 on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate doc-quad 0.1.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 94d1069ad2d75c61ba83947cbae323b9821354e8a525ce736aa04b1830cac903
[INFO] running `Command { std: "docker" "start" "94d1069ad2d75c61ba83947cbae323b9821354e8a525ce736aa04b1830cac903", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "94d1069ad2d75c61ba83947cbae323b9821354e8a525ce736aa04b1830cac903" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "94d1069ad2d75c61ba83947cbae323b9821354e8a525ce736aa04b1830cac903", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "94d1069ad2d75c61ba83947cbae323b9821354e8a525ce736aa04b1830cac903" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libm v0.2.16
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling semver v1.0.28
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling hash32 v0.2.1
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling matrixmultiply v0.3.10
[INFO] [stderr]    Compiling itertools v0.11.0
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling heapless v0.7.17
[INFO] [stderr]    Compiling robust v1.2.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling bumpalo v3.20.2
[INFO] [stderr]    Compiling float_next_after v1.0.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling glam v0.24.2
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling rayon v1.12.0
[INFO] [stderr]    Compiling geographiclib-rs v0.2.7
[INFO] [stderr]    Compiling core_affinity v0.8.3
[INFO] [stderr]    Compiling novtb v0.1.10
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling rstar v0.11.0
[INFO] [stderr]    Compiling earcutr v0.4.3
[INFO] [stderr]    Compiling spade v2.15.1
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling geo-types v0.7.19
[INFO] [stderr]    Compiling ndarray v0.15.6
[INFO] [stderr]    Compiling bytemuck_derive v1.10.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling geo v0.27.0
[INFO] [stderr]    Compiling libblur v0.23.3
[INFO] [stderr]    Compiling bytemuck v1.25.0
[INFO] [stderr]    Compiling fast-canny v0.1.0
[INFO] [stderr]    Compiling doc-quad v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s
[INFO] running `Command { std: "docker" "inspect" "94d1069ad2d75c61ba83947cbae323b9821354e8a525ce736aa04b1830cac903", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "94d1069ad2d75c61ba83947cbae323b9821354e8a525ce736aa04b1830cac903" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling as-slice v0.2.1
[INFO] [stderr]    Compiling built v0.8.0
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling av-scenechange v0.14.1
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling aligned v0.4.3
[INFO] [stderr]    Compiling pastey v0.1.1
[INFO] [stderr]    Compiling y4m v0.8.0
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling nom v8.0.0
[INFO] [stderr]    Compiling no_std_io2 v0.9.3
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling quick-error v2.0.1
[INFO] [stderr]    Compiling bitstream-io v4.10.0
[INFO] [stderr]    Compiling rav1e v0.8.1
[INFO] [stderr]    Compiling maybe-rayon v0.1.1
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]    Compiling imgref v1.12.0
[INFO] [stderr]    Compiling weezl v0.1.12
[INFO] [stderr]    Compiling zune-core v0.5.1
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]    Compiling anstyle-parse v1.0.0
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling zune-jpeg v0.5.15
[INFO] [stderr]    Compiling loop9 v0.1.5
[INFO] [stderr]    Compiling avif-serialize v0.8.8
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling colorchoice v1.0.5
[INFO] [stderr]    Compiling bitflags v2.11.1
[INFO] [stderr]    Compiling anstyle v1.0.14
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling rgb v0.8.53
[INFO] [stderr]    Compiling pxfm v0.1.29
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling bit_field v0.10.3
[INFO] [stderr]    Compiling lebe v0.5.3
[INFO] [stderr]    Compiling anstream v1.0.0
[INFO] [stderr]    Compiling geo v0.27.0
[INFO] [stderr]    Compiling png v0.18.1
[INFO] [stderr]    Compiling gif v0.14.2
[INFO] [stderr]    Compiling image-webp v0.2.4
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling env_filter v1.0.1
[INFO] [stderr]    Compiling ndarray v0.15.6
[INFO] [stderr]    Compiling jiff v0.2.24
[INFO] [stderr]    Compiling equator-macro v0.4.2
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling zerocopy-derive v0.8.48
[INFO] [stderr]    Compiling bytemuck_derive v1.10.2
[INFO] [stderr]    Compiling equator v0.4.2
[INFO] [stderr]    Compiling aligned-vec v0.6.4
[INFO] [stderr]    Compiling v_frame v0.3.9
[INFO] [stderr]    Compiling profiling-procmacros v1.0.17
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling profiling v1.0.17
[INFO] [stderr]    Compiling av1-grain v0.2.5
[INFO] [stderr]    Compiling fax_derive v0.2.0
[INFO] [stderr]    Compiling bytemuck v1.25.0
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling fax v0.2.6
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling fast-canny v0.1.0
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling moxcms v0.8.1
[INFO] [stderr]    Compiling env_logger v0.11.10
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling doc-quad v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling half v2.7.1
[INFO] [stderr]    Compiling tiff v0.11.3
[INFO] [stderr]    Compiling exr v1.74.0
[INFO] [stderr]    Compiling ravif v0.13.0
[INFO] [stderr]    Compiling image v0.25.10
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2m 14s
[INFO] running `Command { std: "docker" "inspect" "94d1069ad2d75c61ba83947cbae323b9821354e8a525ce736aa04b1830cac903", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "94d1069ad2d75c61ba83947cbae323b9821354e8a525ce736aa04b1830cac903" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/doc_quad-0af3fb21ed736cd5)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/stride_test.rs (/opt/rustwide/target/debug/deps/stride_test-ac5cd74977073042)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test test_buffer_overflow_protection ... ok
[INFO] [stdout] test test_contiguous_buffer_detection ... ok
[INFO] [stdout] test test_strided_buffer_detection ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- test_strided_buffer_detection stdout ----
[INFO] [stdout] [2026-06-13T22:26:18Z DEBUG doc_quad::core::buffer] [Core::DocBuffer] - Buffer initialized: 640x480, stride=700. Elapsed: 1µs
[INFO] [stdout] [2026-06-13T22:26:18Z INFO  doc_quad] [Lib::find_document] - START: input=640x480, total_pixels=307200, stride=700
[INFO] [stdout] [2026-06-13T22:26:18Z DEBUG doc_quad] [Lib::find_document] - Downsample decision: total_pixels=307200, threshold=786432, scale=1.0000
[INFO] [stdout] [2026-06-13T22:26:18Z DEBUG doc_quad] [Lib::find_document] - Strided memory (stride=700 > width=640), compacting rows.
[INFO] [stdout] [2026-06-13T22:26:18Z DEBUG doc_quad::core::buffer] [Core::DocBuffer] - ArrayView2 mapped: 640x480, row_stride=700
[INFO] [stdout] [2026-06-13T22:26:18Z INFO  doc_quad] [Lib::find_document] - Processing resolution: 640x480, proc_data_len=307200
[INFO] [stdout] [2026-06-13T22:26:18Z DEBUG doc_quad::core::buffer] [Core::DocBuffer] - Buffer initialized: 640x480, stride=640. Elapsed: 0µs
[INFO] [stdout] [2026-06-13T22:26:18Z INFO  doc_quad] [Lib::find_document] - Stage 3: Edge detection (Canny + morphological close).
[INFO] [stdout] [2026-06-13T22:26:18Z INFO  fast_canny::kernel] [kernel::detect] selected: AVX2+FMA
[INFO] [stdout] [2026-06-13T22:26:18Z INFO  fast_canny::workspace] [CannyWorkspace::new] 640x480, ~3120 KB, 74.72µs
[INFO] [stdout] [2026-06-13T22:26:18Z INFO  doc_quad::edge::detector] [Edge::Detector] - CannyWorkspace pre-allocated for 640x480.
[INFO] [stdout] [2026-06-13T22:26:18Z DEBUG doc_quad::core::buffer] [Core::DocBuffer] - ArrayView2 mapped: 640x480, row_stride=640
[INFO] [stdout] [2026-06-13T22:26:18Z DEBUG doc_quad::edge::threshold] [Edge::Threshold] - Thresholds: low=33.50, high=66.50, median=50, sigma=0.33. Elapsed: 4597µs
[INFO] [stdout] [2026-06-13T22:26:18Z INFO  doc_quad::edge::detector] [Edge::Detector] - Pixel brightness distribution: dark(0-63)=80.5%, mid(64-191)=0.0%, bright(192-255)=19.5%
[INFO] [stdout] [2026-06-13T22:26:18Z INFO  doc_quad::edge::detector] [Edge::Detector] - Histogram peak bucket: [48-63] = 247200 pixels (80.5%)
[INFO] [stdout] [2026-06-13T22:26:18Z INFO  doc_quad::edge::detector] [Edge::Detector] - Adaptive thresholds: low=33.50, high=66.50 (image=640x480, sigma=0.33)
[INFO] [stdout] [2026-06-13T22:26:18Z DEBUG doc_quad::edge::detector] [Edge::Detector] - Input is contiguous (stride==width=640), direct copy.
[INFO] [stdout] [2026-06-13T22:26:18Z INFO  doc_quad::edge::detector] [Edge::Detector] - [DEBUG] Threshold sensitivity scan (sigma=1.0, 3 trial configs):
[INFO] [stdout] [2026-06-13T22:26:18Z INFO  fast_canny::hysteresis] [track_edges] START 640x480 total=307200
[INFO] [stdout] [2026-06-13T22:26:18Z DEBUG fast_canny::hysteresis] [track_edges] seeds=1012 (0.3%), scan=7.017291ms
[INFO] [stdout] [2026-06-13T22:26:18Z DEBUG fast_canny::hysteresis] [track_edges] BFS promoted=4, elapsed=177.251µs
[INFO] [stdout] [2026-06-13T22:26:18Z DEBUG fast_canny::hysteresis] [track_edges] orphans=0 (0.0%), cleanup=6.75852ms
[INFO] [stdout] [2026-06-13T22:26:18Z INFO  fast_canny::hysteresis] [track_edges] END seeds=1012 promoted=4 orphans=0 36.677ms
[INFO] [stdout] [2026-06-13T22:26:18Z INFO  doc_quad::edge::detector] [Edge::Detector] - [DEBUG]   low=2.0, high=8.0 -> edge_pixels=1016, density=0.33%
[INFO] [stdout] [2026-06-13T22:26:19Z INFO  fast_canny::hysteresis] [track_edges] START 640x480 total=307200
[INFO] [stdout] [2026-06-13T22:26:19Z DEBUG fast_canny::hysteresis] [track_edges] seeds=1012 (0.3%), scan=5.94574ms
[INFO] [stdout] [2026-06-13T22:26:19Z DEBUG fast_canny::hysteresis] [track_edges] BFS promoted=0, elapsed=220.55µs
[INFO] [stdout] [2026-06-13T22:26:19Z DEBUG fast_canny::hysteresis] [track_edges] orphans=0 (0.0%), cleanup=1.67652ms
[INFO] [stdout] [2026-06-13T22:26:19Z INFO  fast_canny::hysteresis] [track_edges] END seeds=1012 promoted=0 orphans=0 22.616ms
[INFO] [stdout] [2026-06-13T22:26:19Z INFO  doc_quad::edge::detector] [Edge::Detector] - [DEBUG]   low=5.0, high=20.0 -> edge_pixels=1012, density=0.33%
[INFO] [stdout] [2026-06-13T22:26:19Z INFO  fast_canny::hysteresis] [track_edges] START 640x480 total=307200
[INFO] [stdout] [2026-06-13T22:26:19Z DEBUG fast_canny::hysteresis] [track_edges] seeds=1008 (0.3%), scan=17.87305ms
[INFO] [stdout] [2026-06-13T22:26:19Z DEBUG fast_canny::hysteresis] [track_edges] BFS promoted=4, elapsed=175.07µs
[INFO] [stdout] [2026-06-13T22:26:19Z DEBUG fast_canny::hysteresis] [track_edges] orphans=0 (0.0%), cleanup=1.61224ms
[INFO] [stdout] [2026-06-13T22:26:19Z INFO  fast_canny::hysteresis] [track_edges] END seeds=1008 promoted=4 orphans=0 49.462ms
[INFO] [stdout] [2026-06-13T22:26:19Z INFO  doc_quad::edge::detector] [Edge::Detector] - [DEBUG]   low=10.0, high=40.0 -> edge_pixels=1012, density=0.33%
[INFO] [stdout] [2026-06-13T22:26:19Z INFO  doc_quad::edge::detector] [Edge::Detector] - [DEBUG] Low-sigma scan (sigma=0.5, low=5.0, high=20.0):
[INFO] [stdout] [2026-06-13T22:26:19Z INFO  fast_canny::hysteresis] [track_edges] START 640x480 total=307200
[INFO] [stdout] [2026-06-13T22:26:19Z DEBUG fast_canny::hysteresis] [track_edges] seeds=1004 (0.3%), scan=20.811749ms
[INFO] [stdout] [2026-06-13T22:26:19Z DEBUG fast_canny::hysteresis] [track_edges] BFS promoted=0, elapsed=184.55µs
[INFO] [stdout] [2026-06-13T22:26:19Z DEBUG fast_canny::hysteresis] [track_edges] orphans=0 (0.0%), cleanup=1.66958ms
[INFO] [stdout] [2026-06-13T22:26:19Z INFO  fast_canny::hysteresis] [track_edges] END seeds=1004 promoted=0 orphans=0 48.376ms
[INFO] [stdout] [2026-06-13T22:26:19Z INFO  doc_quad::edge::detector] [Edge::Detector] - [DEBUG]   sigma=0.5, low=5.0, high=20.0 -> edge_pixels=1004, density=0.33%
[INFO] [stdout] [2026-06-13T22:26:19Z INFO  fast_canny::hysteresis] [track_edges] START 640x480 total=307200
[INFO] [stdout] [2026-06-13T22:26:19Z DEBUG fast_canny::hysteresis] [track_edges] seeds=1008 (0.3%), scan=23.092929ms
[INFO] [stdout] [2026-06-13T22:26:19Z DEBUG fast_canny::hysteresis] [track_edges] BFS promoted=0, elapsed=178.07µs
[INFO] [stdout] [2026-06-13T22:26:19Z DEBUG fast_canny::hysteresis] [track_edges] orphans=0 (0.0%), cleanup=9.95341ms
[INFO] [stdout] [2026-06-13T22:26:19Z INFO  fast_canny::hysteresis] [track_edges] END seeds=1008 promoted=0 orphans=0 56.367ms
[INFO] [stdout] [2026-06-13T22:26:19Z INFO  doc_quad::edge::detector] [Edge::Detector] - Canny raw result: edge_pixels=1008, density=0.33%, size=640x480. Canny elapsed: 167ms
[INFO] [stdout] [2026-06-13T22:26:19Z INFO  doc_quad::edge::detector] [Edge::Detector] - [DEBUG] Edge spatial distribution (raw_canny) in 4x4 grid (cell=160x120px):
[INFO] [stdout] [2026-06-13T22:26:19Z INFO  doc_quad::edge::detector] [Edge::Detector] - [DEBUG]   +------+------+------+------++
[INFO] [stdout] [2026-06-13T22:26:19Z INFO  doc_quad::edge::detector] [Edge::Detector] - [DEBUG]   |  0.4% |  0.8% |  0.5% |  0.0% |
[INFO] [stdout] [2026-06-13T22:26:19Z INFO  doc_quad::edge::detector] [Edge::Detector] - [DEBUG]   |  0.6% |  0.0% |  0.6% |  0.0% |
[INFO] [stdout] [2026-06-13T22:26:19Z INFO  doc_quad::edge::detector] [Edge::Detector] - [DEBUG]   |  0.6% |  0.8% |  0.7% |  0.0% |
[INFO] [stdout] [2026-06-13T22:26:19Z INFO  doc_quad::edge::detector] [Edge::Detector] - [DEBUG]   |  0.0% |  0.0% |  0.0% |  0.0% |
[INFO] [stdout] [2026-06-13T22:26:19Z INFO  doc_quad::edge::detector] [Edge::Detector] - [DEBUG]   +------+------+------+------++
[INFO] [stdout] [2026-06-13T22:26:19Z DEBUG doc_quad::edge::detector] [Edge::Detector] - Applying morphological close: radius=2 (image=640x480)
[INFO] [stdout] [2026-06-13T22:26:19Z DEBUG doc_quad::edge::morphology] [Edge::Morphology] - Close operation start: 640x480, radius=2
[INFO] [stdout] [2026-06-13T22:26:20Z DEBUG doc_quad::edge::morphology] [Edge::Morphology] - Dilate done: radius=2, src_edges=1008, dst_edges=5050, growth_ratio=5.01x. Elapsed: 317ms
[INFO] [stdout] [2026-06-13T22:26:20Z DEBUG doc_quad::edge::morphology] [Edge::Morphology] - Erode done: radius=2, src_edges=5050, dst_edges=1018. Elapsed: 38ms
[INFO] [stdout] [2026-06-13T22:26:20Z INFO  doc_quad::edge::morphology] [Edge::Morphology] - Close done: src_edges=1008, closed_edges=1018, net_change=+10. Elapsed: 366ms
[INFO] [stdout] [2026-06-13T22:26:20Z INFO  doc_quad::edge::detector] [Edge::Detector] - After morphological close: edge_pixels=1018, density=0.33%, net_change=+10 (+1.0%). Total elapsed: 1398ms
[INFO] [stdout] [2026-06-13T22:26:20Z INFO  doc_quad::edge::detector] [Edge::Detector] - [DEBUG] Edge spatial distribution (after_close) in 4x4 grid (cell=160x120px):
[INFO] [stdout] [2026-06-13T22:26:20Z INFO  doc_quad::edge::detector] [Edge::Detector] - [DEBUG]   +------+------+------+------++
[INFO] [stdout] [2026-06-13T22:26:20Z INFO  doc_quad::edge::detector] [Edge::Detector] - [DEBUG]   |  0.4% |  0.8% |  0.5% |  0.0% |
[INFO] [stdout] [2026-06-13T22:26:20Z INFO  doc_quad::edge::detector] [Edge::Detector] - [DEBUG]   |  0.6% |  0.0% |  0.6% |  0.0% |
[INFO] [stdout] [2026-06-13T22:26:20Z INFO  doc_quad::edge::detector] [Edge::Detector] - [DEBUG]   |  0.7% |  0.8% |  0.8% |  0.0% |
[INFO] [stdout] [2026-06-13T22:26:20Z INFO  doc_quad::edge::detector] [Edge::Detector] - [DEBUG]   |  0.0% |  0.0% |  0.0% |  0.0% |
[INFO] [stdout] [2026-06-13T22:26:20Z INFO  doc_quad::edge::detector] [Edge::Detector] - [DEBUG]   +------+------+------+------++
[INFO] [stdout] [2026-06-13T22:26:20Z INFO  doc_quad] [Lib::find_document] - Stage 3 result: edge_pixels=1018, density=0.33%
[INFO] [stdout] [2026-06-13T22:26:20Z INFO  doc_quad] [Lib::find_document] - Stage 4: Contour extraction.
[INFO] [stdout] [2026-06-13T22:26:20Z INFO  doc_quad] [Lib::find_document] - Stage 4 result: 6 raw contours extracted.
[INFO] [stdout] [2026-06-13T22:26:20Z INFO  doc_quad] [Lib::find_document] - Stage 5: Pre-filter params: min_perimeter=19.2px (ratio=0.03), min_bbox_area=1536px² (ratio=0.005), max_bbox_area=304128px² (ratio=0.99)
[INFO] [stdout] [2026-06-13T22:26:20Z DEBUG doc_quad] [Lib::find_document] - Contour perimeter distribution (bucket_width=32.0px, 0~320.0px+):
[INFO] [stdout] [2026-06-13T22:26:20Z DEBUG doc_quad] [Lib::find_document] -   [0.0~32.0px]: 6 contours
[INFO] [stdout] [2026-06-13T22:26:20Z INFO  doc_quad] [Lib::find_document] - Stage 5 result: 0/6 contours remain. Rejected: too_short/small_perimeter=6, too_small_bbox=0, too_large_bbox=0
[INFO] [stdout] [2026-06-13T22:26:20Z WARN  doc_quad] [Lib::find_document] - No contours survived pre-filter. Current thresholds: min_perimeter=19.2px, min_bbox_area=1536px². All 6 raw contours were too short/small. This typically means edge continuity is poor — check Canny output or increase morphological close radius.
[INFO] [stdout] [2026-06-13T22:26:20Z INFO  doc_quad] [Lib::find_document] - Detection finished. Found=false. Total Elapsed: 1435ms
[INFO] [stdout] 
[INFO] [stdout] thread 'test_strided_buffer_detection' (2172) panicked at tests/stride_test.rs:28:5:
[INFO] [stdout] Should detect the rectangular document
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x599a4ab34a98 - std[d054f6f42beb1baa]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x599a4ab34a98 - std[d054f6f42beb1baa]::backtrace_rs::backtrace::trace_unsynchronized::<std[d054f6f42beb1baa]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x599a4ab34a98 - std[d054f6f42beb1baa]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x599a4ab34a98 - <<std[d054f6f42beb1baa]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[5a1c3e9896636f3a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x599a4ab4c47a - <core[5a1c3e9896636f3a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x599a4ab4c47a - core[5a1c3e9896636f3a]::fmt::write
[INFO] [stdout]    6:     0x599a4ab3aa22 - std[d054f6f42beb1baa]::io::default_write_fmt::<alloc[154f689e5dd3bae5]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/io/mod.rs:622:11
[INFO] [stdout]    7:     0x599a4ab3aa22 - <alloc[154f689e5dd3bae5]::vec::Vec<u8> as std[d054f6f42beb1baa]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/io/mod.rs:1977:13
[INFO] [stdout]    8:     0x599a4ab12a76 - <std[d054f6f42beb1baa]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x599a4ab12a76 - std[d054f6f42beb1baa]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x599a4ab2ceb9 - std[d054f6f42beb1baa]::panicking::default_hook
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x599a4a94cecc - <alloc[154f689e5dd3bae5]::boxed::Box<dyn for<'a, 'b> core[5a1c3e9896636f3a]::ops::function::Fn<(&'a std[d054f6f42beb1baa]::panic::PanicHookInfo<'b>,), Output = ()> + core[5a1c3e9896636f3a]::marker::Send + core[5a1c3e9896636f3a]::marker::Sync> as core[5a1c3e9896636f3a]::ops::function::Fn<(&std[d054f6f42beb1baa]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/alloc/src/boxed.rs:2291:9
[INFO] [stdout]   12:     0x599a4a94cecc - test[fad20673b750c10e]::test_main_inner::<test[fad20673b750c10e]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x599a4ab2d132 - <alloc[154f689e5dd3bae5]::boxed::Box<dyn for<'a, 'b> core[5a1c3e9896636f3a]::ops::function::Fn<(&'a std[d054f6f42beb1baa]::panic::PanicHookInfo<'b>,), Output = ()> + core[5a1c3e9896636f3a]::marker::Send + core[5a1c3e9896636f3a]::marker::Sync> as core[5a1c3e9896636f3a]::ops::function::Fn<(&std[d054f6f42beb1baa]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/alloc/src/boxed.rs:2291:9
[INFO] [stdout]   14:     0x599a4ab2d132 - std[d054f6f42beb1baa]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x599a4ab12b64 - std[d054f6f42beb1baa]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:691:13
[INFO] [stdout]   16:     0x599a4ab0a3b9 - std[d054f6f42beb1baa]::sys::backtrace::__rust_end_short_backtrace::<std[d054f6f42beb1baa]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x599a4ab1384d - __rustc[7ab284efd7f33ea8]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x599a4ab4ccec - core[5a1c3e9896636f3a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x599a4a6ab9a7 - stride_test[96568e170f2ac8e4]::test_strided_buffer_detection
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/stride_test.rs:28:5
[INFO] [stdout]   20:     0x599a4a6ab717 - stride_test[96568e170f2ac8e4]::test_strided_buffer_detection::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/stride_test.rs:12:35
[INFO] [stdout]   21:     0x599a4a6ad586 - <stride_test[96568e170f2ac8e4]::test_strided_buffer_detection::{closure#0} as core[5a1c3e9896636f3a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   22:     0x599a4a93ffab - <fn() -> core[5a1c3e9896636f3a]::result::Result<(), alloc[154f689e5dd3bae5]::string::String> as core[5a1c3e9896636f3a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x599a4a93ffab - test[fad20673b750c10e]::__rust_begin_short_backtrace::<core[5a1c3e9896636f3a]::result::Result<(), alloc[154f689e5dd3bae5]::string::String>, fn() -> core[5a1c3e9896636f3a]::result::Result<(), alloc[154f689e5dd3bae5]::string::String>>
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:724:18
[INFO] [stdout]   24:     0x599a4a94d825 - test[fad20673b750c10e]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:747:74
[INFO] [stdout]   25:     0x599a4a94d825 - <core[5a1c3e9896636f3a]::panic::unwind_safe::AssertUnwindSafe<test[fad20673b750c10e]::run_test_in_process::{closure#0}> as core[5a1c3e9896636f3a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   26:     0x599a4a94d825 - std[d054f6f42beb1baa]::panicking::catch_unwind::do_call::<core[5a1c3e9896636f3a]::panic::unwind_safe::AssertUnwindSafe<test[fad20673b750c10e]::run_test_in_process::{closure#0}>, core[5a1c3e9896636f3a]::result::Result<(), alloc[154f689e5dd3bae5]::string::String>>
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:581:40
[INFO] [stdout]   27:     0x599a4a94d825 - std[d054f6f42beb1baa]::panicking::catch_unwind::<core[5a1c3e9896636f3a]::result::Result<(), alloc[154f689e5dd3bae5]::string::String>, core[5a1c3e9896636f3a]::panic::unwind_safe::AssertUnwindSafe<test[fad20673b750c10e]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:544:19
[INFO] [stdout]   28:     0x599a4a94d825 - std[d054f6f42beb1baa]::panic::catch_unwind::<core[5a1c3e9896636f3a]::panic::unwind_safe::AssertUnwindSafe<test[fad20673b750c10e]::run_test_in_process::{closure#0}>, core[5a1c3e9896636f3a]::result::Result<(), alloc[154f689e5dd3bae5]::string::String>>
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panic.rs:359:14
[INFO] [stdout]   29:     0x599a4a94d825 - test[fad20673b750c10e]::run_test_in_process
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:747:27
[INFO] [stdout]   30:     0x599a4a94d825 - test[fad20673b750c10e]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:668:43
[INFO] [stdout]   31:     0x599a4a948384 - test[fad20673b750c10e]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:698:41
[INFO] [stdout]   32:     0x599a4a948384 - std[d054f6f42beb1baa]::sys::backtrace::__rust_begin_short_backtrace::<test[fad20673b750c10e]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   33:     0x599a4a9508a2 - std[d054f6f42beb1baa]::thread::lifecycle::spawn_unchecked::<test[fad20673b750c10e]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   34:     0x599a4a9508a2 - <core[5a1c3e9896636f3a]::panic::unwind_safe::AssertUnwindSafe<std[d054f6f42beb1baa]::thread::lifecycle::spawn_unchecked<test[fad20673b750c10e]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[5a1c3e9896636f3a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   35:     0x599a4a9508a2 - std[d054f6f42beb1baa]::panicking::catch_unwind::do_call::<core[5a1c3e9896636f3a]::panic::unwind_safe::AssertUnwindSafe<std[d054f6f42beb1baa]::thread::lifecycle::spawn_unchecked<test[fad20673b750c10e]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:581:40
[INFO] [stdout]   36:     0x599a4a9508a2 - std[d054f6f42beb1baa]::panicking::catch_unwind::<(), core[5a1c3e9896636f3a]::panic::unwind_safe::AssertUnwindSafe<std[d054f6f42beb1baa]::thread::lifecycle::spawn_unchecked<test[fad20673b750c10e]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:544:19
[INFO] [stdout]   37:     0x599a4a9508a2 - std[d054f6f42beb1baa]::panic::catch_unwind::<core[5a1c3e9896636f3a]::panic::unwind_safe::AssertUnwindSafe<std[d054f6f42beb1baa]::thread::lifecycle::spawn_unchecked<test[fad20673b750c10e]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panic.rs:359:14
[INFO] [stdout]   38:     0x599a4a9508a2 - std[d054f6f42beb1baa]::thread::lifecycle::spawn_unchecked::<test[fad20673b750c10e]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   39:     0x599a4a9508a2 - <std[d054f6f42beb1baa]::thread::lifecycle::spawn_unchecked<test[fad20673b750c10e]::run_test::{closure#1}, ()>::{closure#1} as core[5a1c3e9896636f3a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   40:     0x599a4ab343ef - <alloc[154f689e5dd3bae5]::boxed::Box<dyn core[5a1c3e9896636f3a]::ops::function::FnOnce<(), Output = ()> + core[5a1c3e9896636f3a]::marker::Send> as core[5a1c3e9896636f3a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/alloc/src/boxed.rs:2277:9
[INFO] [stdout]   41:     0x599a4ab343ef - <std[d054f6f42beb1baa]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   42:     0x705fd10b7aa4 - <unknown>
[INFO] [stdout]   43:     0x705fd1144a64 - clone
[INFO] [stdout]   44:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     test_strided_buffer_detection
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.47s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test stride_test`
[INFO] running `Command { std: "docker" "inspect" "94d1069ad2d75c61ba83947cbae323b9821354e8a525ce736aa04b1830cac903", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "94d1069ad2d75c61ba83947cbae323b9821354e8a525ce736aa04b1830cac903", kill_on_drop: false }`
[INFO] [stdout] 94d1069ad2d75c61ba83947cbae323b9821354e8a525ce736aa04b1830cac903
